SRCS = DDSImage.cpp
SRCS += DirectXGraphics.cpp
SRCS += DirtyRegionSolvers.cpp
SRCS += DirtyRegionTracker.cpp
SRCS += FFmpegImage.cpp
SRCS += FrameBufferObject.cpp
SRCS += GraphicContext.cpp
SRCS += GUIAction.cpp
SRCS += GUIAudioManager.cpp
SRCS += GUIBaseContainer.cpp
SRCS += GUIBorderedImage.cpp
SRCS += GUIButtonControl.cpp
SRCS += GUICheckMarkControl.cpp
SRCS += GUIColorManager.cpp
SRCS += GUIControl.cpp
SRCS += GUIControlFactory.cpp
SRCS += GUIControlGroup.cpp
SRCS += GUIControlGroupList.cpp
SRCS += GUIControlProfiler.cpp
SRCS += GUIDialog.cpp
SRCS += GUIEditControl.cpp
SRCS += GUIFadeLabelControl.cpp
SRCS += GUIFixedListContainer.cpp
SRCS += GUIFont.cpp
SRCS += GUIFontCache.cpp
SRCS += GUIFontManager.cpp
SRCS += GUIFontTTF.cpp
SRCS += GUIImage.cpp
SRCS += GUIIncludes.cpp
SRCS += GUIInfoTypes.cpp
SRCS += GUIKeyboardFactory.cpp
SRCS += GUILabel.cpp
SRCS += GUILabelControl.cpp
SRCS += GUIListContainer.cpp
SRCS += GUIListGroup.cpp
SRCS += GUIListItem.cpp
SRCS += GUIListItemLayout.cpp
SRCS += GUIListLabel.cpp
SRCS += GUIMessage.cpp
SRCS += GUIMoverControl.cpp
SRCS += GUIMultiImage.cpp
SRCS += GUIMultiSelectText.cpp
SRCS += GUIPanelContainer.cpp
SRCS += GUIProgressControl.cpp
SRCS += GUIRadioButtonControl.cpp
SRCS += GUIResizeControl.cpp
SRCS += GUIRenderingControl.cpp
SRCS += GUIRSSControl.cpp
SRCS += GUIScrollBarControl.cpp
SRCS += GUISelectButtonControl.cpp
SRCS += GUISettingsSliderControl.cpp
SRCS += GUISliderControl.cpp
SRCS += GUISpinControl.cpp
SRCS += GUISpinControlEx.cpp
SRCS += GUIStaticItem.cpp
SRCS += GUITextBox.cpp
SRCS += GUITextLayout.cpp
SRCS += GUITexture.cpp
SRCS += GUIToggleButtonControl.cpp
SRCS += GUIVideoControl.cpp
SRCS += GUIVisualisationControl.cpp
SRCS += GUIWindow.cpp
SRCS += GUIWindowManager.cpp
SRCS += GUIWrappingListContainer.cpp
SRCS += imagefactory.cpp
SRCS += IWindowManagerCallback.cpp
SRCS += LocalizeStrings.cpp
SRCS += Resolution.cpp
SRCS += Shader.cpp
SRCS += StereoscopicsManager.cpp
SRCS += Texture.cpp
SRCS += TextureBundleXBT.cpp
SRCS += TextureBundle.cpp
SRCS += TextureManager.cpp
SRCS += VisibleEffect.cpp
SRCS += XBTF.cpp
SRCS += XBTFReader.cpp

ifeq (@USE_OPENGL@,1)
SRCS += TextureGL.cpp
SRCS += GUIFontTTFGL.cpp
SRCS += GUITextureGL.cpp
SRCS += MatrixGLES.cpp
endif

ifeq (@USE_OPENGLES@,1)
SRCS += TextureGL.cpp
SRCS += TexturePi.cpp
SRCS += GUIFontTTFGL.cpp
SRCS += GUITextureGLES.cpp
SRCS += MatrixGLES.cpp
SRCS += GUIShader.cpp
endif

LIB = guilib.a

include @abs_top_srcdir@/Makefile.include
-include $(patsubst %.cpp,%.P,$(patsubst %.c,%.P,$(SRCS)))

try : try.o TextureBundle.o DirectXGraphics.o GUIFontTTF.o
	g++ -o try try.o TextureBundle.o DirectXGraphics.o GraphicContext.o GUIIncludes.o ../utils/CriticalSection.o ../XBVideoConfig.o SkinInfo.o ../linux/CriticalSection.o GUIFontTTF.o GUIFontBase.o GUIFontManager.o GUIFont.o ../utils/XMLUtils.o GUIImage.o GUIControl.o TextureManager.o GUIMessage.o ../utils/SingleLock.o VisibleEffect.o GUIWindowManager.o -llzo -lfreetype


